package com.huanletao.spring.aop.aop01;

import org.apache.commons.logging.LogFactory;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;

@Service
public class UserServiceImpl implements UserService {

    @Override
    public void insert() {
        log.info("操作insert 方法。");
        System.out.println("true = " + true);
    }

    @Override
    public List<String> selectAllUser() {
        log.info("调用selectAll 方法。");
        return new ArrayList<>();
    }

    @Override
    public void deleteUser() {
        log.info("调用delete user  方法");
    }
}
